<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    .box {
        width: 200px;
        height: 200px;

        border: solid;
        position: relative;
        top: 400px;
        left: 400px
    }

    .box img {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 400px;
        /*设置公共基准点*/
        transform-origin: right top;
        /* 过渡 */
        transition: all 1s ease;

    }

    .box:hover img:nth-child(1) {
        transform: rotate(60deg);
    }

    .box:hover img:nth-child(2) {
        transform: rotate(120deg);
    }

    .box:hover img:nth-child(3) {
        transform: rotate(180deg);
    }

    .box:hover img:nth-child(5) {
        transform: rotate(240deg);
    }

    .box:hover img:nth-child(6) {
        transform: rotate(300deg);
    }
</style>

<body>

    <div class="box">
        <img src="images/IMG_1400.JPG" alt="">
        <img src="images/IMG_1401.JPG" alt="">
        <img src="images/IMG_1402.JPG" alt="">
        <img src="images/IMG_1403.JPG" alt="">
        <img src="images/IMG_1404.JPG" alt="">
        <img src="images/IMG_1405.JPG" alt="">
    </div>
</body>

</html>